home *** CD-ROM | disk | FTP | other *** search
- Path: news.rain.org!usenet
- From: "Guus Leeuw jr." <guusl@eiffel.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Beginner Questions
- Date: Thu, 11 Jan 1996 08:33:01 -0800
- Organization: ISE Inc. http://www.eiffel.com
- Message-ID: <30F53BBD.C926446@eiffel.com>
- References: <4d1i7o$ald@newsbf02.news.aol.com>
- NNTP-Posting-Host: @outback.eiffel.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b3 (X11; I; Linux 1.2.8 i586)
-
- JKenn23333 wrote:
- >
- > I have two questions about C++ ---
- >
- > First, what is a "pointer" and what does it do?
-
- A pointer is (like the point finger) something that points to other
- things around.
-
- In more C++ terms: A pointer points to other objects. Through that
- pointer an object can be accessed.
-
- Please read your C++ teaching book for more details. It's a rather
- long story to tell...
-
- >
- > Second, what is the "inline" function do?
-
- When a function is declared as `inline' each call to that function will
- not result in an actual call, but the code of that function will be
- copied to the spot in the program where the call is made. Think of it as
- a macro that is defined through `#define'.
-
- >
- > Thanks for your help, I appreciate it!!
- >
- > Patrick Kennedy
- >
- > Please respond to Patrick.Kennedy@bbs.mhv.net
-
- Hope this explains,
- Guus Leeuw jr.
-